projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f69e7
)
(dired-overwrite-confirmed): Revert last change.
author
Chong Yidong
<cyd@stupidchicken.com>
Sun, 6 Apr 2008 20:11:37 +0000
(20:11 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sun, 6 Apr 2008 20:11:37 +0000
(20:11 +0000)
lisp/dired-aux.el
patch
|
blob
|
history
diff --git
a/lisp/dired-aux.el
b/lisp/dired-aux.el
index acc577b33ed64e189b9ddd64bcbcdd0a364567aa..b8c49ff0b1d761c5fab2316daf5b610c740a73a5 100644
(file)
--- a/
lisp/dired-aux.el
+++ b/
lisp/dired-aux.el
@@
-1179,7
+1179,10
@@
Special value `always' suppresses confirmation."
(other :tag "ask" t))
:group 'dired)
-(defvar dired-overwrite-confirmed nil)
+;; This is a fluid var used in dired-handle-overwrite. It should be
+;; let-bound whenever dired-copy-file etc are called. See
+;; dired-create-files for an example.
+(defvar dired-overwrite-confirmed)
(defun dired-handle-overwrite (to)
;; Save old version of file TO that is to be overwritten.